<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><html:text name="sys.name" /></title>
</head>
<body>
<html:form action="/crm/bxdProduct/save.crm" id="saveForm">
	<html:token />
	<html:hidden id="bxdProduct.id" name="bxdProduct.id" />
	<table class="input-table" cellspacing="0" cellpadding="0" border="0"
		align="center">
		<tr>
			<td colspan="4" class="x-panel-header" style="text-align: center;"><html:text
				name="bxdProduct.action" /></td>
		</tr>
		<html:if test="myMessage!=null">
			<tr>
				<td colspan="4" style="text-align: center;"><html:property
					value="myMessage" escape="false" /></td>
			</tr>
		</html:if>
		<tr>
			<td colspan="4" style="text-align: center;"><input type="button"
				onclick="javascript:saveFunction();" id="saveButton"
				value=" <html:text name="button.save"/> ">&nbsp;<input
				type="button" onclick="javascript:backFunction();" id="backButton"
				value=" <html:text name="button.back"/> "></td>
		</tr>
		<tr>
			<td colspan="4">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td><html:text name="bxdProduct.bxdId">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.bxdId" name="bxdProduct.bxdId"></html:textfield></td>
					<td><html:text name="bxdProduct.productName">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.productName" name="bxdProduct.productName"></html:textfield></td>
				</tr>
				<tr>
					<td><html:text name="bxdProduct.productGg">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.productGg" name="bxdProduct.productGg"></html:textfield></td>
					<td><html:text name="bxdProduct.productXh">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.productXh" name="bxdProduct.productXh"></html:textfield></td>
				</tr>
				<tr>
					<td><html:text name="bxdProduct.productSerialNum">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.productSerialNum"
						name="bxdProduct.productSerialNum"></html:textfield></td>
					<td><html:text name="bxdProduct.productRemark">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.productRemark" name="bxdProduct.productRemark"></html:textfield></td>
				</tr>
				<tr>
					<td><html:text name="bxdProduct.bxAddress">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.bxAddress" name="bxdProduct.bxAddress"></html:textfield></td>
					<td><html:text name="bxdProduct.bxState">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.bxState" name="bxdProduct.bxState"></html:textfield></td>
				</tr>
				<tr>
					<td><html:text name="bxdProduct.hasFj">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.hasFj" name="bxdProduct.hasFj"></html:textfield></td>
					<td><html:text name="bxdProduct.annex">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.annex" name="bxdProduct.annex"></html:textfield></td>
				</tr>
				<tr>
					<td><html:text name="bxdProduct.otherAnnex">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.otherAnnex" name="bxdProduct.otherAnnex"></html:textfield></td>
					<td><html:text name="bxdProduct.bj">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.bj" name="bxdProduct.bj"></html:textfield></td>
				</tr>
				<tr>
					<td><html:text name="bxdProduct.gzfx">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.gzfx" name="bxdProduct.gzfx"></html:textfield></td>
					<td><html:text name="bxdProduct.pcgc">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="string"
						id="bxdProduct.pcgc" name="bxdProduct.pcgc"></html:textfield></td>
				</tr>
				<tr>
					<td><html:text name="bxdProduct.gf">
					</html:text></td>
					<td class="td-input"><html:textfield dataType="double"
						id="bxdProduct.gf" name="bxdProduct.gf"></html:textfield></td>
					<td colspan="2">&nbsp;</td>
				</tr>

				<html:if test='extendCustomer!=null&&extendCustomer!=""'>
					<tr>
						<td colspan="4" class="td-input"><br></br>
						<b><html:text name="entity.customauto"></html:text></b>
						<hr style="width: 100%;"></hr>
						</td>
					</tr>
					<html:property value="extendCustomer" escape="false" />
				</html:if>
			</table>
			</td>
			<%
				com.opensymphony.xwork2.util.ValueStack obj = (com.opensymphony.xwork2.util.ValueStack) request
							.getAttribute("struts.valueStack");
					obj.setValue("bxdProduct", null);
			%>
		</tr>

	</table>
	<script type="text/javascript" language="javascript">
		//var provCity = new ProvCity(); 
		//provCity.init('','');  
		function backFunction(){
			window.location="<%=WEBPATH%>/crm/bxdProduct/index.crm";
		}
	</script>
</html:form>
</body>
</html>